package com.woniuxy.xiangruicommonutilserver.service;

import com.woniuxy.bean.ResultBean;
import org.springframework.web.multipart.MultipartFile;

public interface IMinioService {
    //保存文件
    ResultBean saveFile (String bucketName, MultipartFile file);

    //删除文件
    void removeFile (String bucketName, String objectName);

    //查询桶中所有文件
    ResultBean listFileByBucket (String bucketName);
}
